/*
 * @Author: wang_sheshe
 * @Date: 2021-05-19 09:12:51
 * @LastEditTime: 2021-08-04 16:00:53
 * @Description: 主页和巡视任务路由
 */
import MainHome from "../pages/main/index"
import unFinishTask from "../pages/main/unFinishTask"
import AddTask from "../pages/tourTask/AddTask"
import CopyData from "../pages/tourTask/CopyData"
import ExecuteIndex from "../pages/tourTask/Execute"
import TourTaskIndex from "../pages/tourTask/"
import BeginIndex from "../pages/tourTask/Begin"
import AddProtect from "../pages/protect/AddProtect"
import Finish  from "../pages/tourTask/Finish"
import ProtectFinish  from "../pages/protect/ProtectFinish"
import DeviceTab  from "../pages/tourTask/DeviceTab"
import WorkCard  from "../pages/tourTask/WorkCard"
import luli  from "../pages/tourTask/DefectList"
import DeviceProtectAdd  from "../pages/protect/DeviceProtectAdd"
import TourTaskDetail  from "../pages/tourTask/TourTaskDetail"
import preview  from "../pages/tourTask/preview"
import TourBatteryCopy  from "../pages/tourTask/TourBatteryCopy"
import batchCopy  from "../pages/tourTask/batchCopy"
import Tabbar from "../../../components/tabbar"
export default [{
  path: '/MainHome',
  name: 'MainHome',
  components: {
      default: MainHome,
  },
  meta: {
    title: '移动巡视主页',
    keepAlive: false,
  }
},{
  path: '/copyData',
  name: 'copyData',
  components: {
      default: CopyData,
  },
  meta: {
    title: '抄录数据',
    keepAlive: false,
  }
},{
  path: '/executeIndex',
  name: 'executeIndex',
  components: {
      default: ExecuteIndex,
  },
  meta: {
    title: '执行页面',
    keepAlive: false,
  }
},{
  path: '/addTask',
  name: 'addTask',
  components: {
      default: AddTask,
  },
  meta: {
    title: '新建巡视任务',
    keepAlive: false,
  }
},{
  path: '/tourTaskIndex',
  name: 'tourTaskIndex',
  components: {
      default: TourTaskIndex,
  },
  meta: {
    title: '巡视列表',
    keepAlive: false,
  }
},{
  path: '/beginIndex',
  name: 'beginIndex',
  components: {
      default: BeginIndex,
  },
  meta: {
    title: '开始信息确认',
    keepAlive: false,
  }
},{
  path: '/addProtect',
  name: 'addProtect',
  components: {
      default: AddProtect,
  },
  meta: {
    title: '登记维护',
    keepAlive: false,
  }
},
{
  path: '/finish',
  name: 'finish',
  components: {
      default: Finish,
  },
  meta: {
    title: '巡视记录确认',
    keepAlive: false,
  }
},{
  path: '/protectFinish',
  name: 'protectFinish',
  components: {
      default: ProtectFinish,
  },
  meta: {
    title: '维护登记完成',
    keepAlive: false,
  }
},{
  path: '/deviceTab',
  name: 'deviceTab',
  components: {
      default: DeviceTab,
  },
  meta: {
    title: '设备台账',
    keepAlive: false,
  }
},
{
  path: '/workCard',
  name: 'workCard',
  components: {
      default: WorkCard,
  },
  meta: {
    title: '作业卡',
    keepAlive: false,
  }
},
{
  path: '/luli',
  name: 'luli',
  components: {
      default: luli,
  },
  meta: {
    title: '履历',
    keepAlive: false,
  }
},{
  path: '/deviceProtectAdd',
  name: 'deviceProtectAdd',
  components: {
      default: DeviceProtectAdd,
  },
  meta: {
    title: '新增设备维护',
    keepAlive: false,
  }
},
{
  path: '/TourTaskDetail',
  name: 'TourTaskDetail',
  components: {
      default: TourTaskDetail,
  },
  meta: {
    title: '巡视详情',
    keepAlive: false,
  }
},
{
  path: '/unFinishTask',
  name: 'unFinishTask',
  components: {
      default: unFinishTask,
  },
  meta: {
    title: '待执行任务列表',
    keepAlive: false,
  }
},
{
  path: '/preview',
  name: 'preview',
  components: {
      default: preview,
  },
  meta: {
    title: '待执行任务列表',
    keepAlive: false,
  }
},
{
  path: '/TourBatteryCopy',
  name: 'TourBatteryCopy',
  components: {
      default: TourBatteryCopy,
  },
  meta: {
    title: '巡视专用蓄电池抄录',
    keepAlive: false,
  }
},
{
  path: '/batchCopy',
  name: 'batchCopy',
  components: {
      default: batchCopy,
  },
  meta: {
    title: '批量抄录',
    keepAlive: false,
  }
},
{
  path: '/Tabbar',
  name: 'Tabbar',
  components: {
      default: Tabbar,
  },
  meta: {
    title: '底部导航栏',
    keepAlive: false,
  }
},

]